<template>
  <div class="footer-wrapper">
    <van-tabbar route v-model="active">
      <van-tabbar-item replace to="/" icon="home-o">首页</van-tabbar-item>
      <van-tabbar-item replace to="/about" icon="search">购物车</van-tabbar-item>
      <van-tabbar-item replace to="/dir" icon="search">搜索</van-tabbar-item>
      <!-- <van-tabbar-item replace to="/transition" icon="search">过渡动画</van-tabbar-item> -->
      <van-tabbar-item replace to="/filter" icon="search">过滤器</van-tabbar-item>
      <!-- transition -->
    </van-tabbar>
  </div>
</template>
<script>
export default {
  data() {
    return {
      active: 0,
    }
  },
}
</script>
